<?php /* Smarty version Smarty-3.1.12, created on 2013-01-15 08:34:20
         compiled from "templates\index_left.html" */ ?>
<?php /*%%SmartyHeaderCode:2316950ea77d78d26f7-75334335%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '4f8cef525ab4635bcb9065b125d668b0774e26fa' => 
    array (
      0 => 'templates\\index_left.html',
      1 => 1358219103,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '2316950ea77d78d26f7-75334335',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_50ea77d7b98392_06101555',
  'variables' => 
  array (
    'assign_info' => 0,
    'uid' => 0,
    'integral' => 0,
    'assign_bannerapp' => 0,
    'assgin_bannerapp' => 0,
    'assign_skeyword' => 0,
    'assign_search' => 0,
    'assign_artcategory' => 0,
    'assign_countapp' => 0,
    'assign_radnom' => 0,
    'assign_slider' => 0,
    'assign_freeapp' => 0,
    'assign_category' => 0,
    'assign_kwtitle' => 0,
    'assign_kwapp' => 0,
    'assign_apphot' => 0,
    'assign_article' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_50ea77d7b98392_06101555')) {function content_50ea77d7b98392_06101555($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" id="html">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="/templates/css/style.css" type="text/css" />
<link rel="stylesheet" href="/templates/css/view_style.css" type="text/css" />
<link rel="stylesheet" href="/templates/css/lottery.css" type="text/css" />
<link rel="stylesheet" href="/templates/css/skitter.styles.css" type="text/css" />
<link rel="stylesheet" href="/templates/css/login_style.css" type="text/css" />
<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"></script>
<script type="text/ecmascript" src="/templates/js/slider.js"></script>
<script type="text/javascript" src="/templates/js/global.js"></script>
<meta name="keywords" content="<?php echo $_smarty_tpl->tpl_vars['assign_info']->value[1]['info'];?>
" />
<meta name="description" content="<?php echo $_smarty_tpl->tpl_vars['assign_info']->value[2]['info'];?>
" />
<!--[if lt IE 10]>
<script type="text/javascript" src="templates/js/PIE.js"></script>
<![endif]-->
<title><?php echo $_smarty_tpl->tpl_vars['assign_info']->value[0]['info'];?>
</title>
</head>
<body>
	<div id="wrap">
		<div id="nav">
        	<div class="nav_menu">
            	<div class="nav_menu_left">
                	<li><a href="#" onclick="Addme()">收藏本站</a></li>
                    <script>
                    function Addme() {
    					url = document.URL;  //你自己的主页地址
    					title = "游戏扒一扒";  //你自己的主页名称
    					window.external.AddFavorite(url, title);
					}
                    </script>
                    <li>固件</li>
                    <li>新闻中心</li>
                    <li>新手教程</li>
                    <li>越狱</li>
                    <li>微博</li>
                    <li>商务合作</li>
                </div>
                <div class="nav_menu_right">
                	<?php if ($_smarty_tpl->tpl_vars['uid']->value!=''){?>
                	<li><a href="member.php?id=<?php echo $_smarty_tpl->tpl_vars['uid']->value;?>
">进入会员中心</a></li>
                    <li><a href="member.php?id=<?php echo $_smarty_tpl->tpl_vars['uid']->value;?>
">剩余积分:<?php echo $_smarty_tpl->tpl_vars['integral']->value;?>
</a></li>
					<li class="quit"><span>退出</span></li>
					<?php }elseif($_smarty_tpl->tpl_vars['uid']->value==''){?>
					<li><a href="login.php?id=1">注册</a></li>
                    <li><a href="login.php?id=2">登录</a></li>					
                    <?php }?>
                </div>
            </div>
        </div><!--顶部-->
        <div id="header">
        	<div id="banner"><a href="app.php?id=<?php echo $_smarty_tpl->tpl_vars['assign_bannerapp']->value[0]['id'];?>
" target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['assign_bannerapp']->value[0]['name'];?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['assign_bannerapp']->value[0]['url'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['assgin_bannerapp']->value[0]['name'];?>
" /></a></div>
            <div id="menu">
            	<div class="logo"></div>
                <div class="search">
                	<div class="search_content">
						<div class="search_main">
							<form action="search.php" method="get">
                        	<div class="search_icon"></div>
							
                        	<input class="search_text" name="keywords" type="text" value="<?php echo $_smarty_tpl->tpl_vars['assign_skeyword']->value[0]['name'];?>
" /></div>
							<input class="search_button" type="submit" value="搜索" />
                        	</form>
						
                        	
                    </div>
                    <div class="search_keywords">热门搜索：
                    	<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["s"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["s"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['name'] = "s";
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_search']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['total']);
?>
                        	<a href="search.php?keywords=<?php echo $_smarty_tpl->tpl_vars['assign_search']->value[$_smarty_tpl->getVariable('smarty')->value['section']['s']['index']]['name'];?>
&page=1" target="_blank"><span><?php echo $_smarty_tpl->tpl_vars['assign_search']->value[$_smarty_tpl->getVariable('smarty')->value['section']['s']['index']]['name'];?>
 </span></a>
                        <?php endfor; endif; ?>
                    </div>
                </div>
                	<div class="menu_tab">
                    	<li class="selected"><a href="index.php" target="_blank">iPhone游戏</a></li>
                        <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["c"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["c"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['name'] = "c";
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_artcategory']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['total']);
?>
                        	<li><a href="article_list.php?page=1&id=<?php echo $_smarty_tpl->tpl_vars['assign_artcategory']->value[$_smarty_tpl->getVariable('smarty')->value['section']['c']['index']]['id'];?>
&kw=0" target="_blank"><?php echo $_smarty_tpl->tpl_vars['assign_artcategory']->value[$_smarty_tpl->getVariable('smarty')->value['section']['c']['index']]['name'];?>
</a></li>
                        <?php endfor; endif; ?><!--                        <li>游戏测评</li>
                        <li>iPhone新闻</li>-->
                        <li><a href="lottery.php" target="_blank">积分兑换</a></li>
                    </div>
            </div>
            <div id="menu_list">
				<div class="listmenu">
              		<li><a href="index.php" target="_blank">首页</a></li>
                	<li><a href="app_list.php?page=1&order=0&id=0&pri=1&ca=0&kw=0&pre=" target="_blank">限时免费</a></li>
                	<li><a href="app_list.php?page=1&order=1&id=0&pri=0&ca=0&kw=0&pre=" target="_blank">热门游戏</a></li>
                	<li><a href="app_list.php?page=1&order=0&id=0&pri=0&ca=0&kw=0&pre=" target="_blank">最新APP应用</a></li>
                	<li><a href="app_list.php?page=1&id=0&pri=0&ca=0&kw=1&pre=51" target="_blank">网游</a></li>
				</div>
                <div class="app_count"><h1>共<?php echo $_smarty_tpl->tpl_vars['assign_countapp']->value;?>
个应用,今日更新<?php echo $_smarty_tpl->tpl_vars['assign_radnom']->value;?>
个应用</h1></div>
            </div>
        </div><!--头部-->
        <div id="container">
			<div id="content">
            	<div id="content_left">
                	<div class="content_slider">
                    	<div class="slider_main">
							<div id="slider_images">
								<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["slider"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['name'] = "slider";
$_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_slider']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["slider"]['total']);
?>
								<?php if ($_smarty_tpl->tpl_vars['assign_slider']->value[$_smarty_tpl->getVariable('smarty')->value['section']['slider']['index']]['id']==1){?>
									<?php if ($_smarty_tpl->tpl_vars['assign_slider']->value[$_smarty_tpl->getVariable('smarty')->value['section']['slider']['index']]['class']==0){?>
									<dt option-value="1"><a href="app.php?id=<?php echo $_smarty_tpl->tpl_vars['assign_slider']->value[$_smarty_tpl->getVariable('smarty')->value['section']['slider']['index']]['trackid'];?>
" target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['assign_slider']->value[$_smarty_tpl->getVariable('smarty')->value['section']['slider']['index']]['title'];?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['assign_slider']->value[$_smarty_tpl->getVariable('smarty')->value['section']['slider']['index']]['imgpath'];?>
.png" alt="<?php echo $_smarty_tpl->tpl_vars['assign_slider']->value[$_smarty_tpl->getVariable('smarty')->value['section']['slider']['index']]['title'];?>
"  style="width:734px; height:208px; margin:1px;" /></a><div class="text-label"><p><?php echo $_smarty_tpl->tpl_vars['assign_slider']->value[$_smarty_tpl->getVariable('smarty')->value['section']['slider']['index']]['title'];?>
</p></div></dt>
									<?php }elseif($_smarty_tpl->tpl_vars['assign_slider']->value[$_smarty_tpl->getVariable('smarty')->value['section']['slider']['index']]['class']==1){?>
									<dt option-value="1" style="width:734px; position:relative; height:188px; float:left"><a href="/view?page=1&id=<?php echo $_smarty_tpl->tpl_vars['assign_slider']->value[$_smarty_tpl->getVariable('smarty')->value['section']['slider']['index']]['trackid'];?>
" target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['assign_slider']->value[$_smarty_tpl->getVariable('smarty')->value['section']['slider']['index']]['title'];?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['assign_slider']->value[$_smarty_tpl->getVariable('smarty')->value['section']['slider']['index']]['imgpath'];?>
.png" alt="<?php echo $_smarty_tpl->tpl_vars['assign_slider']->value[$_smarty_tpl->getVariable('smarty')->value['section']['slider']['index']]['title'];?>
"  style="width:734px; height:208px; margin:1px;" /></a><div class="text-label"><p><?php echo $_smarty_tpl->tpl_vars['assign_slider']->value[$_smarty_tpl->getVariable('smarty')->value['section']['slider']['index']]['title'];?>
</p></div></dt>
									<?php }?>
								<?php }elseif($_smarty_tpl->tpl_vars['assign_slider']->value[$_smarty_tpl->getVariable('smarty')->value['section']['slider']['index']]['id']!=1){?>
									<?php if ($_smarty_tpl->tpl_vars['assign_slider']->value[$_smarty_tpl->getVariable('smarty')->value['section']['slider']['index']]['class']==0){?>
									<dt option-value="<?php echo $_smarty_tpl->tpl_vars['assign_slider']->value[$_smarty_tpl->getVariable('smarty')->value['section']['slider']['index']]['id'];?>
" class="yincang" style="width:734px; position:relative; height:188px; float:left"><a href="app.php?id=<?php echo $_smarty_tpl->tpl_vars['assign_slider']->value[$_smarty_tpl->getVariable('smarty')->value['section']['slider']['index']]['trackid'];?>
" target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['assign_slider']->value[$_smarty_tpl->getVariable('smarty')->value['section']['slider']['index']]['title'];?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['assign_slider']->value[$_smarty_tpl->getVariable('smarty')->value['section']['slider']['index']]['imgpath'];?>
.png" alt="<?php echo $_smarty_tpl->tpl_vars['assign_slider']->value[$_smarty_tpl->getVariable('smarty')->value['section']['slider']['index']]['title'];?>
" style="width:734px; height:208px; margin:1px;" /></a><div class="text-label"><p><?php echo $_smarty_tpl->tpl_vars['assign_slider']->value[$_smarty_tpl->getVariable('smarty')->value['section']['slider']['index']]['title'];?>
</p></div></dt>
									<?php }elseif($_smarty_tpl->tpl_vars['assign_slider']->value[$_smarty_tpl->getVariable('smarty')->value['section']['slider']['index']]['class']==1){?>
									<dt option-value="<?php echo $_smarty_tpl->tpl_vars['assign_slider']->value[$_smarty_tpl->getVariable('smarty')->value['section']['slider']['index']]['id'];?>
"class="yincang" style="width:734px; position:relative; height:188px; float:left"><a href="/view.php?page=1&id=<?php echo $_smarty_tpl->tpl_vars['assign_slider']->value[$_smarty_tpl->getVariable('smarty')->value['section']['slider']['index']]['trackid'];?>
" target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['assign_slider']->value[$_smarty_tpl->getVariable('smarty')->value['section']['slider']['index']]['title'];?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['assign_slider']->value[$_smarty_tpl->getVariable('smarty')->value['section']['slider']['index']]['imgpath'];?>
.png" alt="<?php echo $_smarty_tpl->tpl_vars['assign_slider']->value[$_smarty_tpl->getVariable('smarty')->value['section']['slider']['index']]['title'];?>
" style="width:734px; height:208px; margin:1px;" /></a><div class="text-label"><p><?php echo $_smarty_tpl->tpl_vars['assign_slider']->value[$_smarty_tpl->getVariable('smarty')->value['section']['slider']['index']]['title'];?>
</p></div></dt>
									<?php }?>								
								<?php }?>
								<?php endfor; endif; ?>
								</div>
							<div id="slider_control">
								<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["pic"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['name'] = "pic";
$_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_slider']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["pic"]['total']);
?>
									<dd filter-option="<?php echo $_smarty_tpl->tpl_vars['assign_slider']->value[$_smarty_tpl->getVariable('smarty')->value['section']['pic']['index']]['id'];?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['assign_slider']->value[$_smarty_tpl->getVariable('smarty')->value['section']['pic']['index']]['imgpath'];?>
.png" alt="<?php echo $_smarty_tpl->tpl_vars['assign_slider']->value[$_smarty_tpl->getVariable('smarty')->value['section']['pic']['index']]['title'];?>
" style="width:69.2px; height:46px;" /></dd>
								<?php endfor; endif; ?>
							</div>
						</div>
						<script>
							var length = document.getElementById("slider_images").getElementsByTagName('dt').length;
							var i=-1;
							var offset = 3000;
							var timer = null;
							$(document).ready(function(){
								test();
								clickimages();
							});
						</script>
						<div class="slider_tips"></div>
					</div>
                    <div class="content_app1">
						<div class="spread_tips"></div>
						<a href="app.php?id=<?php echo $_smarty_tpl->tpl_vars['assign_bannerapp']->value[1]['id'];?>
" target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['assign_bannerapp']->value[1]['name'];?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['assign_bannerapp']->value[1]['url'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['assgin_bannerapp']->value[1]['name'];?>
" /></a>
					</div>
                    <div class="content_recomm">
                    	<div class="recomm_title">今日限免推荐</div>
                        <div class="recomm_content">
                        <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["a"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["a"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['name'] = "a";
$_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_freeapp']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["a"]['total']);
?>
                        	<dt>
                            	<div class="img"><a href="app.php?id=<?php echo $_smarty_tpl->tpl_vars['assign_freeapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['a']['index']]['id'];?>
" target="_blank"><img src="<?php echo $_smarty_tpl->tpl_vars['assign_freeapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['a']['index']]['url'];?>
" width="206px" height="280px" /></a>
                                	<div class="img_title"><?php echo $_smarty_tpl->tpl_vars['assign_freeapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['a']['index']]['name'];?>
</div>
                                </div>
                                <div class="title" option-value="<?php echo $_smarty_tpl->tpl_vars['assign_freeapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['a']['index']]['name'];?>
"><?php echo $_smarty_tpl->tpl_vars['assign_freeapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['a']['index']]['name'];?>
</div>
                                	<div class="button"><span><?php echo $_smarty_tpl->tpl_vars['assign_freeapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['a']['index']]['price'];?>
</span></div>
                            </dt>
                        <?php endfor; endif; ?>  
                        </div>
                        <div class="recomm_bottom">
							<div class="recomm_desc">
							<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['name'] = "appcategory";
$_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_category']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["appcategory"]['total']);
?>
								<p><?php echo $_smarty_tpl->tpl_vars['assign_category']->value[$_smarty_tpl->getVariable('smarty')->value['section']['appcategory']['index']]['title'];?>
</p>
							<?php endfor; endif; ?>
							</div>
						</div>
                    </div>
                    <div class="content_kw">
                    	<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["t"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["t"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['name'] = "t";
$_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_kwtitle']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['total']);
?>
						<?php if ($_smarty_tpl->tpl_vars['assign_kwtitle']->value[$_smarty_tpl->getVariable('smarty')->value['section']['t']['index']]['id']%2!=0){?>
						<li style="float:right; margin-right:0px;">
							<div class="title"><?php echo $_smarty_tpl->tpl_vars['assign_kwtitle']->value[$_smarty_tpl->getVariable('smarty')->value['section']['t']['index']]['name'];?>
</div>
                            <div class="more"><a href="app_list.php?page=1&id=0&pri=0&ca=0&kw=1&pre=<?php echo $_smarty_tpl->tpl_vars['assign_kwtitle']->value[$_smarty_tpl->getVariable('smarty')->value['section']['t']['index']]['kid'];?>
" target="_blank">更多>></a></div>
							<div class="main">
								<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["k1"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['name'] = "k1";
$_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_kwapp']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["k1"]['total']);
?>
								<?php if ($_smarty_tpl->tpl_vars['assign_kwapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['k1']['index']]['k_id']==$_smarty_tpl->tpl_vars['assign_kwtitle']->value[$_smarty_tpl->getVariable('smarty')->value['section']['t']['index']]['kid']){?>
								<dt><a href="app.php?id=<?php echo $_smarty_tpl->tpl_vars['assign_kwapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['k1']['index']]['id'];?>
" target="_blank">
									<div class="icon"><img width="70px" height="70px;" src="<?php echo $_smarty_tpl->tpl_vars['assign_kwapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['k1']['index']]['icon'];?>
" /></div>
                                    <div class="name"><?php echo $_smarty_tpl->tpl_vars['assign_kwapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['k1']['index']]['name'];?>
</div></a>
								</dt>
								<?php }?>
								<?php endfor; endif; ?>
							</div>
						</li>
						<?php }elseif($_smarty_tpl->tpl_vars['assign_kwtitle']->value[$_smarty_tpl->getVariable('smarty')->value['section']['t']['index']]['id']%2==0){?>
							<?php if ($_smarty_tpl->tpl_vars['assign_kwtitle']->value[$_smarty_tpl->getVariable('smarty')->value['section']['t']['index']]['id']==0){?>
								<li>
									<div class="title"><?php echo $_smarty_tpl->tpl_vars['assign_kwtitle']->value[$_smarty_tpl->getVariable('smarty')->value['section']['t']['index']]['name'];?>
</div>
									<div class="more"><a href="app_list.php?page=1&id=0&pri=0&ca=0&kw=6&pre=" target="_blank">更多>></a></div>
									<div class="main">
										<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["k2"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['name'] = "k2";
$_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_kwapp']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['total']);
?>
										<?php if ($_smarty_tpl->tpl_vars['assign_kwapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['k2']['index']]['k_id']==$_smarty_tpl->tpl_vars['assign_kwtitle']->value[$_smarty_tpl->getVariable('smarty')->value['section']['t']['index']]['kid']){?>
										<dt><a href="app.php?id=<?php echo $_smarty_tpl->tpl_vars['assign_kwapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['k2']['index']]['id'];?>
" target="_blank">
											<div class="icon"><img width="70px" height="70px;" src="<?php echo $_smarty_tpl->tpl_vars['assign_kwapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['k2']['index']]['icon'];?>
" /></div>
											<div class="name"><?php echo $_smarty_tpl->tpl_vars['assign_kwapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['k2']['index']]['name'];?>
</div></a>
										</dt>
										<?php }?>
										<?php endfor; endif; ?>
									</div>
								</li>
							<?php }else{ ?>
								<li>
									<div class="title"><?php echo $_smarty_tpl->tpl_vars['assign_kwtitle']->value[$_smarty_tpl->getVariable('smarty')->value['section']['t']['index']]['name'];?>
</div>
									<div class="more"><a href="app_list.php?page=1&id=0&pri=0&ca=0&kw=1&pre=<?php echo $_smarty_tpl->tpl_vars['assign_kwtitle']->value[$_smarty_tpl->getVariable('smarty')->value['section']['t']['index']]['kid'];?>
" target="_blank">更多>></a></div>
									<div class="main">
										<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["k2"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['name'] = "k2";
$_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_kwapp']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["k2"]['total']);
?>
										<?php if ($_smarty_tpl->tpl_vars['assign_kwapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['k2']['index']]['k_id']==$_smarty_tpl->tpl_vars['assign_kwtitle']->value[$_smarty_tpl->getVariable('smarty')->value['section']['t']['index']]['kid']){?>
										<dt><a href="app.php?id=<?php echo $_smarty_tpl->tpl_vars['assign_kwapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['k2']['index']]['id'];?>
" target="_blank">
											<div class="icon"><img width="70px" height="70px;" src="<?php echo $_smarty_tpl->tpl_vars['assign_kwapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['k2']['index']]['icon'];?>
" /></div>
											<div class="name"><?php echo $_smarty_tpl->tpl_vars['assign_kwapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['k2']['index']]['name'];?>
</div></a>
										</dt>
										<?php }?>
										<?php endfor; endif; ?>
									</div>
								</li>
							<?php }?>
						<?php }?>
         		<?php endfor; endif; ?>
                    </div>
                    <div class="content_app1">
						<div class="new_tips"></div>
						<a href="app.php?id=<?php echo $_smarty_tpl->tpl_vars['assign_bannerapp']->value[2]['id'];?>
" target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['assign_bannerapp']->value[2]['name'];?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['assign_bannerapp']->value[2]['url'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['assign_bannerapp']->value[2]['name'];?>
" /></a>
					</div>
                    <div class="content_hot">
                    	<div class="title">APP应用</div>
                        <div class="more"><a href="app_list.php?page=1&id=0&pri=0&ca=0&kw=3&pre=" target="_blank">更多>></a></div>
                        <div class="main">
                        	<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["h"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["h"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['name'] = "h";
$_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_apphot']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["h"]['total']);
?>
                        	<li><a href="app.php?id=<?php echo $_smarty_tpl->tpl_vars['assign_apphot']->value[$_smarty_tpl->getVariable('smarty')->value['section']['h']['index']]['id'];?>
" target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['assign_apphot']->value[$_smarty_tpl->getVariable('smarty')->value['section']['h']['index']]['icon'];?>
"><img width="70px" height="70px" src="<?php echo $_smarty_tpl->tpl_vars['assign_apphot']->value[$_smarty_tpl->getVariable('smarty')->value['section']['h']['index']]['icon'];?>
" /><div class="name"><?php echo $_smarty_tpl->tpl_vars['assign_apphot']->value[$_smarty_tpl->getVariable('smarty')->value['section']['h']['index']]['name'];?>
</div></a></li>
							<?php endfor; endif; ?>
                        </div>
                    </div>
                    <div class="content_article">
                    	<div class="name">游戏测评</div>
                        <div class="more"><a href="article_list.php?page=1&id=2&kw=0" target="_blank">更多>>></a></div>
                        
                        <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["ar"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['name'] = "ar";
$_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_article']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["ar"]['total']);
?>
                    	<li>
                        	<div class="screenshot"><a href="view.php?page=1&id=<?php echo $_smarty_tpl->tpl_vars['assign_article']->value[$_smarty_tpl->getVariable('smarty')->value['section']['ar']['index']]['id'];?>
" target="_blank"><img src="<?php echo $_smarty_tpl->tpl_vars['assign_article']->value[$_smarty_tpl->getVariable('smarty')->value['section']['ar']['index']]['url'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['assign_article']->value[$_smarty_tpl->getVariable('smarty')->value['section']['ar']['index']]['alt'];?>
" /></a>
                            	<div class="title"><?php echo $_smarty_tpl->tpl_vars['assign_article']->value[$_smarty_tpl->getVariable('smarty')->value['section']['ar']['index']]['title'];?>
</div>
                            </div>
                            <div class="desc">
                            	<div class="title"><a href="view.php?page=1&id=<?php echo $_smarty_tpl->tpl_vars['assign_article']->value[$_smarty_tpl->getVariable('smarty')->value['section']['ar']['index']]['id'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['assign_article']->value[$_smarty_tpl->getVariable('smarty')->value['section']['ar']['index']]['title'];?>
</a></div>
                                <div class="main">
                                	<p><a href="view.php?page=1&id=<?php echo $_smarty_tpl->tpl_vars['assign_article']->value[$_smarty_tpl->getVariable('smarty')->value['section']['ar']['index']]['id'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['assign_article']->value[$_smarty_tpl->getVariable('smarty')->value['section']['ar']['index']]['desc'];?>
</a></p>
                               	</div>
                            </div>
                        </li>
                        <?php endfor; endif; ?>
                    </div>                
                	<div class="content_redeem">
                    	<div class="title">积分兑换</div>
                        <div class="more"><a href="lottery.php" target="_blank">更多>>></a></div>
                        <div class="main">
                        	<li><img src="/templates/images/50chongzhika.png" /></li>
                            <li><img src="/templates/images/ipad3.png" /></li>
                            <li><img src="/templates/images/iphone4s.png" /></li>
                            <li><img src="/templates/images/iphone5.png" /></li>
                        </div>
                    </div>
                </div><!--左侧-->
<?php }} ?>